package util;

import java.util.HashMap;
import java.util.Iterator;
/** 
 * Just some debug methods
 * 
 * @author User
 *
 */
public class Debug {
	
	/**
	 *  Debug D = new Debug();
    	D.printHashMap(hashmap);
    	
	 * @param Hashmap
	 */
	public void printHashMap( HashMap<?,?> hm) {
    	String key,value;
    	Iterator<?> it = hm.keySet().iterator();
    	while (it.hasNext()) {
            key = it.next().toString();
            value = hm.get(key).toString().trim();
            System.out.println("Key: " + key+ " Value: "+ value);
        }
  	
	}
}
